package com.weisw.polaris.admin.dao;

import com.weisw.polaris.admin.model.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    int deleteByPrimaryKey(Integer userId);

    int insert(User record);

    User selectByPrimaryKey(Integer userId);

    User findByName(String userName);

    List<User> selectAll();

    int updateByPrimaryKey(User record);
}